/*************************************************************************
 *
 *  Copyright (C) 2013 Florian Dang <florian.coin@gmail.com>
 *
 *  This file is part of NatusVerse.
 *
 *  NatusVerse is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  NatusVerse is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with NatusVerse.  If not, see <http://www.gnu.org/licenses/>.
 *
 *************************************************************************/

#ifndef INC_IMAGE_FRACTAL_H_
#define INC_IMAGE_FRACTAL_H_

/*!
 * \file        fractal.h
 * \brief       Fractal : Mandelbrot
 * \author      Florian Dang
 * \date        2013
 *
 */

#include "image/image.h"

class Fractal
{
	public:
		static void CallMandelbrot(int w, int h, int x, int y, float scale, float radius,
						int max_it, float color, std::string img_name);
		static void Mandelbrot(image::Img &img, int x_center, int y_center, float scale, float radius,
						int max_it, float color);
		static void SetColor(image::Img &img, int i, int j, float smooth);
		static void SetColor2(image::Img &img, int i, int j, float smooth);
};


#endif  // INC_IMAGE_FRACTAL_H_

